package org.neuedu.ssmp.crm.service;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import org.apache.ibatis.annotations.Param;
import org.neuedu.ssmp.crm.entity.CustomerLost;
import com.baomidou.mybatisplus.extension.service.IService;
import org.neuedu.ssmp.crm.entity.Orders;

import java.time.LocalDate;
import java.util.Date;
import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author MoonHolder
 * @since 2019-12-09
 */
public interface ICustomerLostService extends IService<CustomerLost> {

    List<CustomerLost> queryAll();

    List<CustomerLost> vagueQusery(String name, String username, String state);

    List<CustomerLost> queryAlls(Integer customerId);

    int update(int id, String content, String addMeasures, String lostCause, String state, LocalDate lostDay);

    int inserts(int customerId, LocalDate orderTime);

    List<CustomerLost> myQuery();

    List<Integer> cId();
}
